@charset "utf-8";
/* CSS Document */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 px;
}
/* 搜索筛选区 */
.search-filter {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 300px;
}
.filter-select {
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}
/* 竞拍列表 */
.auction-list {
  width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding-top: 15px;
}
/* 竞拍项卡片 */
.auction-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.auction-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* 产品图片 */
.product-image {
  flex: 0 0 180px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 产品信息 */
.product-info {
  flex: 1;
  min-width: 271px;
}
.product-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}
.product-specs {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}
/* 品牌材质 */
.brand-material {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  color: #888;
  font-size: 13px;
}
/* 价格区域 */
.price-section {
  flex: 0 0 40px;
  text-align: left;
}
.current-price {
  color: #e74c3c;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  float: left;
}
.price-label {
  font-size: 12px;
  color: #999;
  float: left;
  margin-top: 8px;
  margin-right: 5px;
}
/* 竞拍状态 */
.auction-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  float: right;
}
.status-success {
  background: #e8f5e9;
  color: #2e7d32;
}
.status-failed {
  background: #ffebee;
  color: #c62828;
}
.status-ongoing {
  background: #fff3e0;
  color: #ef6c00;
}
/* 响应式设计 */
@media (max-width: 768px) {
  .auction-item {
    flex-wrap: wrap;
  }
  .product-image {
    flex: 0 0 100%;
    height: 200px;
  }
  .price-section {
    text-align: left;
    flex: 1;
  }
}
